Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. ble send data

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Log in to post

    • All categories
    • A

      FiPy-Android Bluetooth Communication

      Watching Ignoring Scheduled Pinned Locked Moved Discussion ble fipy ble connect ble send data bluetooth
      1
      0 Votes
      1 Posts
      653 Views
      No one has replied
    • S

      Setting value? Sending bytes?

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy ble send data ble lopy ble connect ble
      1
      2
      0 Votes
      1 Posts
      465 Views
      No one has replied
    • C

      How to send data to characteristic over BLE

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy ble ble lopy ble send data lopy
      18
      1 Votes
      18 Posts
      4k Views
      J
      @codemaniac64 Umm I'm not sure, do you have any debug visibility on your PSoC code? Seems like it's rejecting something. Can you see if the BLE connection is still up when you try the .write(b'x0f')? It really helps to have a BLE sniffer like this https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF-Sniffer
    • I

      LoPy Bluetooth characteristic buffer size

      Watching Ignoring Scheduled Pinned Locked Moved LoPy bluetooth lopy mobile ble ble send data
      2
      0 Votes
      2 Posts
      988 Views
      J
      @iber That's normal because it's not really a buffer, Bluetooth LE characteristics are usually restricted to 20 bytes by the protocol - it's what fits in the BLE packet - so unless you negotiate a larger MTU (larger packets than standard) between peers or use Long attributes you are restricted to that amount. Neither of those extended techniques are currently supported.
    • J

      How to notify other BLE devices from Wipy

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy 2.0 gattcconnection ble send data other
      2
      0 Votes
      2 Posts
      923 Views
      J
      @jmahesh You are connecting to GATT Server as client, so what you can do is request the server send you notifications. You can't send notifications as a client. Bluetooth.PROP_NOTIFY means you can request notifications on that characteristic. I'm guessing that characteristic is not writable (read only) hence you get that error? If what you want is to be notified by the Server (e.g. when the value changes) use the char.callback(trigger=Bluetooth.CHAR_NOTIFY_EVENT, handler=YourHandlerFunct, arg=YourOptionalArgument)
    • F

      detection of notifications enabling on BLE connections with Lopy

      Watching Ignoring Scheduled Pinned Locked Moved LoPy ble send data ble lopy
      1
      0 Votes
      1 Posts
      692 Views
      No one has replied
    • D

      How to use "characteristic.write(value)"

      Watching Ignoring Scheduled Pinned Locked Moved LoPy ble send data
      5
      0 Votes
      5 Posts
      5k Views
      D
      @jmarcelino Thank you,it works now. The lightBlue get the reply in reads.
    • 1 / 1